package com.ddxz.demo.flowable.controller;

import com.ddxz.demo.flowable.dto.DdxzModelInfo;
import com.ddxz.demo.flowable.service.FlowService;
import com.ddxz.tool.web.dto.DdxzResponse;
import org.springframework.web.bind.annotation.*;

/**
 * class description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/12/12
 */

@RestController
public class FlowController {
    @RequestMapping(value = "/rest/account", method = RequestMethod.GET)
    public DdxzResponse getAccount() {
        return service.getAccount();
    }

    private final FlowService service;

    public FlowController(FlowService service) {
        this.service = service;
    }
}
